import Date from "./Date";
import "./LogItem.css";



const LogItem = (props) => {
  const {title,time, month, day} = props.logitem
  return (
    <div className="item" >
      <Date month={month} day={day}/>
      {/* 内容 */}
      <div className="content">
        <div className="desc">{title}</div>
        <div className="time">{time}</div>
      </div>
    </div>
  );
};

export default LogItem;
